package com.doyens.gmall.product.service;

import com.alibaba.fastjson.JSONObject;
import com.doyens.gmall.model.product.*;

import java.util.List;

/**
 * Classname:MangeService
 * PackageName:com.doyens.gmall.product.service
 *
 * @Author:uyijk
 * @Create:2023/7/25 11:19
 * @Version: 1.0
 */
public interface MangeService {
    List<BaseCategory1> getCategory1();

    List<BaseCategory2> getCategory2(Long category1Id);

    List<BaseCategory3> getCategory3(Long category2Id);

    List<BaseAttrInfo> getAttrInfoList(Long category1Id, Long category2Id, Long category3Id);

    void saveAttrInfo(BaseAttrInfo baseAttrInfo);

    List<BaseAttrValue> getAttrValueList(Long attrId);

    BaseCategoryView getCategoryViewByCategory3Id(Long category3Id);

    List<JSONObject> getBaseCategoryList();
}
